<div class="main-blocks">
    <div class="heading-main-blocks">
        <h4>Dự án nội thất</h4>
    </div>
    
    <div class="content-main-blocks">
        <?php
            $common = new Admincp_Model_Common();
        ?>
        <div class="news-first">
            <h2 class="news-title-detail"><?php echo $this->data['title']; ?></h2>
            <p class="news-date-detail">Ngày đăng: <?php echo $common->formatDateSite($this->data['create_date']); ?></p>
            
            <div class="news-description-detail">
                <?php echo $this->data['description']; ?>
            </div>
            
            <?php if(count($this->data2) > 0) : ?>
            <h3 class="connection-news">Các tin liên quan</h3>
            <ul class="list-connection-news">
                <?php foreach($this->data2 as $value) : ?>
                <li>
                    <a href="<?php echo $this->url(array('action'=>'detail','controller'=>'project','module'=>'default','id'=>$value['id'],'title'=>$value['url']),'projectdetail'); ?>">
                        <?php echo $value['title']; ?>
                    </a>
                </li>
                <?php endforeach; ?>
            </ul>
            <?php endif; ?>
        </div>
    </div>
</div>
<!-- End .main-blocks -->